import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ChatGateway } from './chat.gateway';
import { User } from '../../entities';
import { UserMap } from '../friend/entity/friend.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([User, UserMap]),
  ],
  providers: [ChatGateway],
})
export class ChatModule {}
